$OpenBSD: patch-setup_py,v 1.1 2015/06/18 09:03:33 ajacoutot Exp $
--- setup.py.orig	Thu Jun 18 10:06:29 2015
+++ setup.py	Thu Jun 18 10:06:01 2015
@@ -21,7 +21,7 @@ def get_data_files():
     for lang_name in [f for f in os.listdir('locale')]:
         mofile = os.path.join('locale', lang_name,'LC_MESSAGES','devede_ng.mo')
         # translations must be always in /usr/share because Gtk.builder only search there. If someone knows how to fix this...
-        target = os.path.join('/usr','share', 'locale', lang_name, 'LC_MESSAGES') # share/locale/fr/LC_MESSAGES/
+        target = os.path.join('${PREFIX}/share', 'locale', lang_name, 'LC_MESSAGES') # share/locale/fr/LC_MESSAGES/
         data_files.append((target, [mofile]))
 
     return data_files
